/**
 *@des 个人中心相关接口
 *@author stav stavyan@qq.com
 *@blog https://stavtop.club
 *@date 2019/11/16 11:04:16
 */
// 个人信息
const memberInfo = '/rf-article/v1/member/member/index';
// 个人信息修改
const memberUpdate = '/rf-article/v1/member/member/update';

// 收货地址列表
const addressList = '/rf-article/v1/member/address/index';
// 默认收货地址
const addressDefault = '/rf-article/v1/member/address/default';
// 默认收货地址
const addressDetail = '/rf-article/v1/member/address/view';
// 创建收货地址
const addressCreate = '/rf-article/v1/member/address/create';
// 修改收货地址
const addressUpdate = '/rf-article/v1/member/address/update';
// 修改收货地址
const addressDelete = '/rf-article/v1/member/address/delete';

// 获取优惠券列表
const couponList = '/rf-article/v1/marketing/coupon-type/index';
// 获取我的优惠券列表
const myCouponList = '/rf-article/v1/member/coupon/index';
// 优惠券详情
const couponDetail = '/rf-article/v1/marketing/coupon-type/view';
// 领取优惠券
const couponReceive = '/rf-article/v1/marketing/coupon-type/create';
const couponClear = '/rf-article/v1/member/coupon/clear';

// 获取我的订单
const orderList = '/rf-article/v1/member/order/index';
// 订单确认收货
const orderTakeDelivery = '/rf-article/v1/member/order/take-delivery';
// 退货/退款申请
const orderRefundApply = '/rf-article/v1/member/order-product/refund-apply';
// 产品退货提交物流
const orderProductSalesReturn =
	'/rf-article/v1/member/order-product/refund-sales-return';
// 关闭退货/退款申请
const closeOrderRefundApply = '/rf-article/v1/member/order-product/refund-close';
// 获取订单详情
const orderDetail = '/rf-article/v1/member/order/view';
// 删除已关闭订单
const orderDelete = '/rf-article/v1/member/order/delete';

// 获取我的足迹
const footPrintList = '/rf-article/v1/member/footprint/index';
// 删除我的足迹
const footPrintDel = '/rf-article/v1/member/footprint/delete';

// 收藏列表
const collectList = '/rf-article/v1/member/collect/index';

// 积分余额日志
const creditsLogList = '/rf-article/v1/member/credits-log/index';

// 创建订单评价
const evaluateCreate = '/rf-article/v1/member/evaluate/create';
// 追加评价
const evaluateAgain = '/rf-article/v1/member/evaluate/again';
// 订单商品
const orderProductIndex = '/rf-article/v1/member/order-product/index';

// 发票列表
const invoiceList = '/rf-article/v1/member/invoice/index';
// 发票列表
const invoiceCreate = '/rf-article/v1/member/invoice/create';
// 发票编辑
const invoiceUpdate = '/rf-article/v1/member/invoice/update';
// 发票详情
const invoiceDetail = '/rf-article/v1/member/invoice/view';
// 默认发票
const invoiceDefault = '/rf-article/v1/member/invoice/default';
// 删除发票
const invoiceDel = '/rf-article/v1/member/invoice/delete';
// 开票列表
const orderInvoiceList = '/rf-article/v1/member/order-invoice/index';
// 发票补领
const orderInvoiceCreate = '/rf-article/v1/member/order-invoice/create';

// 意见反馈列表
const opinionList = '/rf-article/v1/member/opinion/index';
// 意见反馈创建
const opinionCreate = '/rf-article/v1/member/opinion/create';
// 意见反馈详情
const opinionDetail = '/rf-article/v1/member/opinion/view';

// 第三方授权列表
const thirdPartyAuthList = '/rf-article/v1/member/auth/index';
// 解除第三方授权列表
const thirdPartyAuthDelete = '/rf-article/v1/member/auth/delete';

// 充值金额
const rechargeConfigIndex = '/rf-article/v1/member/recharge-config/index';

// 订单售后
// 申请退款/退货
const orderCustomerRefundApply = '/rf-article/v1/member/order-customer/apply';
// 退货提交物流
const orderCustomerSalesReturn =
	'/rf-article/v1/member/order-customer/sales-return';
// 退款/退货关闭申请
const orderCustomerRefundClose = '/rf-article/v1/member/order-customer/close';

// 上传图片
const uploadImage = '/rf-article/v1/common/file/images';

// 消息通知
// 消息列表
const notifyIndex = '/rf-article/v1/member/notify/index';
// 消息详情
const notifyView = '/rf-article/v1/member/notify/view';
// 单个消息阅读
const notifyRead = '/rf-article/v1/member/notify/read';
// 全部已读
const notifyReadAll = '/rf-article/v1/member/notify/read-all';
// 删除一条或者多条
const notifyClear = '/rf-article/v1/member/notify/clear';
// 清空消息记录
const notifyClearAll = '/rf-article/v1/member/notify/clear-all';
// 未读消息个数
const notifyUnRreadCount = '/rf-article/v1/member/notify/un-read-count';
// 消息提醒配置
const notifySubscriptionConfigIndex =
	'/rf-article/v1/member/notify-subscription-config/index';
// 修改消息提醒配置
const notifySubscriptionConfigUpConfig =
	'/rf-article/v1/member/notify-subscription-config/up-config';

// 虚拟码列表
const orderProductVirtualIndex =
	'/rf-article/v1/member/order-product-virtual/index';
// 虚拟码详情
const orderProductVirtualView =
	'/rf-article/v1/member/order-product-virtual/view';
// 虚拟码详情
const productVirtualVerificationVerify =
	'/rf-article/v1/order/product-virtual-verification/verify';

// 会员等级
const memberLevelIndex = '/rf-article/v1/member/member-level/index';

export {
	memberInfo,
	memberUpdate,
	addressList,
	addressCreate,
	addressDefault,
	addressDetail,
	addressUpdate,
	addressDelete,
	couponList,
	myCouponList,
	couponClear,
	couponDetail,
	orderList,
	orderRefundApply,
	closeOrderRefundApply,
	orderProductSalesReturn,
	orderDetail,
	orderDelete,
	orderTakeDelivery,
	couponReceive,
	footPrintList,
	footPrintDel,
	collectList,
	creditsLogList,
	evaluateCreate,
	evaluateAgain,
	invoiceList,
	invoiceCreate,
	invoiceUpdate,
	invoiceDetail,
	invoiceDefault,
	invoiceDel,
	orderInvoiceCreate,
	orderInvoiceList,
	uploadImage,
	opinionList,
	opinionCreate,
	opinionDetail,
	thirdPartyAuthList,
	thirdPartyAuthDelete,
	rechargeConfigIndex,
	orderCustomerSalesReturn,
	orderCustomerRefundApply,
	orderCustomerRefundClose,
	orderProductIndex,
	notifyIndex,
	notifyView,
	notifyRead,
	notifyReadAll,
	notifyClear,
	notifyClearAll,
	notifyUnRreadCount,
	notifySubscriptionConfigUpConfig,
	notifySubscriptionConfigIndex,
	orderProductVirtualIndex,
	orderProductVirtualView,
	productVirtualVerificationVerify,
	memberLevelIndex
};
